<%--
  Created by IntelliJ IDEA.
  User: KangFaWei
  Date: 2019/7/5
  Time: 17:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <link rel="stylesheet" type="text/css" href="<%=path%>/backstatic/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="<%=path%>/backstatic/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="<%=path%>/backstatic/lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="<%=path%>/backstatic/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="<%=path%>/backstatic/h-ui.admin/css/style.css" />
    <title>用户查看</title>
</head>
<body>
<div class="cl pd-20" style=" background-color:#5bacb6">
    <img class="avatar size-XL l" src="<%=path%>/static/images/${requestScope.userinfo.headPic}">
    <dl style="margin-left:80px; color:#fff">
        <dt>
            <span class="f-18">${requestScope.userinfo.nickname}</span>
            <%--<span class="pl-10 f-12">${requestScope.userinfo.}</span>--%>
        </dt>
        <dd class="pt-10 f-12" style="margin-left:0">上次登录时间：
            <fmt:formatDate value="${requestScope.userinfo.lastLoginTime}" pattern="yyyy-MM-dd HH:mm:ss" />

        </dd>
        <dd class="pt-10 f-12" style="margin-left:0">上次登录ip：${requestScope.userinfo.lastLoginIp}</dd>
    </dl>
</div>
<div class="pd-20">
    <table class="table">
        <tbody>
        <tr>
            <th class="text-r">手机：</th>
            <td>${requestScope.userinfo.phoneNumber}</td>
        </tr>
        <tr>
            <th class="text-r">邮箱：</th>
            <td>${requestScope.userinfo.email}</td>
        </tr>

        <tr>
            <th class="text-r">注册时间：</th>
            <td>${requestScope.userinfo.inputTime}</td>
        </tr>
        <tr>
            <th class="text-r">文章数：</th>
            <td>${requestScope.userinfo.publishCount}</td>
        </tr>
        <tr>
            <th class="text-r">提问数：</th>
            <td>${requestScope.userinfo.askCount}</td>
        </tr>
        <tr>
            <th class="text-r">回答数：</th>
            <td>${requestScope.userinfo.answerCount}</td>
        </tr>
        </tbody>
    </table>
</div>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="<%=path%>/backstatic/lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="<%=path%>/backstatic/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="<%=path%>/backstatic/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="<%=path%>/backstatic/h-ui.admin/js/H-ui.admin.js"></script>
<!--/_footer 作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本-->
</body>
</html>